/**
 * 实验室管理API
 */
import request from '../libs/request';




/**
 * 获取分页列表
 * @returns {*}
 */
export function getPageManageList (para) {
    return request({
        url: 'api/lab/classT/page',
        method: 'get',
        params: para
    });
}

/**
 * 获取实验进展分页列表
 * @returns {*}
 */
export function getEovlveList (para) {
    return request({
        url: 'api/lab/classT/lineUp/evolve',
        method: 'get',
        params: para
    });
}



/**
 * 保存
 * @returns {*}
 */
export function saveObj (para) {
    return request({
        url: 'api/lab/classT/save',
        method: 'post',
        data: para
    });
}


/**
 * 删除
 * @returns {*}
 */
export function deleteObj (para) {
    return request({
        url: 'api/lab/classT/delete',
        method: 'post',
        data: para
    });
}


/**
 * 开启签到
 * @returns {*}
 */
export function startLessonSign (para) {
    return request({
        url: 'api/lab/classT/startSign',
        method: 'post',
        data: para
    });
}

/**
 * 结束课堂
 * @returns {*}
 */
export function endLesson (para) {
    return request({
        url: 'api/lab/classT/endClasst',
        method: 'post',
        data: para
    });
}
/**
 * 自动计算分数
 * @returns {*}
 */
export function lessonScoreAutoCalc (para) {
    return request({
        url: 'api/lab/classT/auto/calculate',
        method: 'post',
        data: para
    });
}

/**
 * 课堂签到
 * @returns {*}
 */
export function lessonSignin (para) {
    return request({
        url: 'api/lab/classT/signIn/sign',
        method: 'post',
        data: para
    });
}

/**
 * 签到列表
 * @returns {*}
 */
export function lessonSignList (para) {
    return request({
        url: 'api/lab/classT/signIn/list',
        method: 'post',
        data: para
    });
}

/**
 * 签到人数统计
 * @returns {*}
 */
export function lessonSignCount (para) {
    return request({
        url: 'api/lab/classT/signIn/count',
        method: 'post',
        data: para
    });
}

/**
 * 提交排队
 * @returns {*}
 */
export function lineUpSave (para) {
    return request({
        url: 'api/lab/classT/lineUp/save',
        method: 'post',
        data: para
    });
}

/**
 * 排队通过并打分
 * @returns {*}
 */
export function lineUpPassAndScore (para) {
    return request({
        url: 'api/lab/classT/lineUp/passAndScore',
        method: 'post',
        data: para
    });
}

/**
 * 排队通过
 * @returns {*}
 */
export function lineUpPass(para) {
    return request({
        url: 'api/lab/classT/lineUp/pass',
        method: 'post',
        data: para
    });
}

/**
 * 排队不通过
 * @returns {*}
 */
export function lineUnPass(para) {
    return request({
        url: 'api/lab/classT/lineUp/unPass',
        method: 'post',
        data: para
    });
}

/**
 * 排队批量通过
 * @returns {*}
 */
export function lineUpBatchPass(para) {
    return request({
        url: 'api/lab/classT/lineUp/batchPass',
        method: 'post',
        data: para
    });
}

/**
 * 获取排队分页列表
 * @returns {*}
 */
export function getLineUpPage(para) {
    return request({
        url: 'api/lab/classT/lineUp/page',
        method: 'get',
        params: para
    });
}

/**
 * 获取排队分页列表
 * @returns {*}
 */
export function getScorePage(para) {
    return request({
        url: 'api/lab/score/page',
        method: 'get',
        params: para
    });
}


